package com.gxgy.web.domain;

import com.gxgy.common.annotation.Excel;
import com.gxgy.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 小程序用户对象 t_user
 *
 * @author mobin
 * @date 2024-11-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "小程序用户对象")
public class TUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @Excel(name = "主键")
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    @Excel(name = "用户名")
    private String username;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名")
    private String name;

    /**
     * 性别   0 男 1女
     */
    @ApiModelProperty(value = "性别   0 男 1女")
    @Excel(name = "性别   0 男 1女")
    private Integer gender;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    @Excel(name = "密码")
    private String password;

    /**
     * 身高
     */
    @ApiModelProperty(value = "身高")
    @Excel(name = "身高")
    private Long height;

    /**
     * 体重
     */
    @ApiModelProperty(value = "体重")
    @Excel(name = "体重")
    private Long weight;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "$column.columnComment")

    @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
    private Long bim;

    /**
     * bim的分类  0 过轻  1正常    2 超重   3 肥胖
     */
    @ApiModelProperty(value = "bim的分类  0 过轻  1正常    2 超重   3 肥胖")
    @Excel(name = "bim的分类  0 过轻  1正常    2 超重   3 肥胖")
    private Integer bimClassify;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "$column.columnComment")

    @Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
    private String bimRemake;

}
